.loading-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 999;
    transition: opacity .1s;
}

.loading-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 35px;
    height: 35px;
    margin: -20px 0 0 -20px;
    border: 5px solid rgba(0, 0, 0, .5);
    border-radius: 50%;
    border-top-color: white;
    animation: spin .4s linear infinite;
}

.loading-amit-spin {
    animation: spin .4s linear infinite;
    transition: border .3s;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}